import csv


def read_csv_to_dict(file_path):
    data_dict = {}
    with open(file_path, mode='r', encoding='utf-8') as file:
        reader = csv.DictReader(file)
        for row in reader:
            key = row['key']
            default_value = row['default_value']
            data_dict[key] = default_value
    return data_dict


if __name__ == "__main__":
    file_path = 'conf/field.csv'
    data_dict = read_csv_to_dict(file_path)
    print(data_dict)
